package com.dr.db;

import com.dr.pojo.Location;

import java.util.List;

/**
 * Created by tugou on 2017/5/3.
 */
public interface LocationMapper {
    /**
     * 获取驾校地址信息
     * @param location
     * @return
     */
     List<Location> getLocation(Location location);

    /**
     * 更新驾校地址信息
     * @param location
     * @return
     */
     int updateLocation(Location location);

    /**
     * 插入驾校地址信息
     * @param location
     * @return
     */
     int insertLocation(Location location);

    /**
     * 更新驾校状态
     * @param location
     * @return
     */
     int deleteLocation(Location location);
}
